package cn.iocoder.yudao.module.system.controller.admin.gugu.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * 分页版本的结构化用户数据请求 VO
 */
@Schema(description = "分页版本的结构化用户数据请求参数")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class StructuredUserDataPageReqVO extends PageParam {

    @Schema(description = "用户问答数据", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "用户问答数据不能为空")
    private Map<String, StructuredUserDataReqVO.QuestionAnswer> userAnswers;

    @Schema(description = "专业类型过滤", example = "rush", allowableValues = {"rush", "stable", "safe"})
    private String majorType;
}
